package com.gcxy.exception.global;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * Copyright (C), 2024-2024, BUG闭退！
 * Author: Huang先森
 * Date: 2024/7/22 13:21
 * FileName: IGlobalException
 * Description:
 */
public interface IGlobalException<T, E extends Throwable> {

    T exception(E throwable, HttpServletRequest request, HttpServletResponse response);
}
